﻿<%@ Page Title="" Language="C#" MasterPageFile="~/APP_Master/MasterPage_Personal.master" AutoEventWireup="true" CodeFile="per_documentary_me.aspx.cs" Inherits="per_documentary_me" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <!--Right-->
    <script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="js/layer/layer.js"></script>

    <script type="text/javascript">
        function openMe(id) {
            layer.open({
                type: 2,
                title: '双色球 定制我的',
                shadeClose: true,
                shade: 0.8,
                area: ['510px', '90%'],
                content: 'per_me_tanchu.aspx?id=' + id //iframe的url
            });
        }
    </script>
    <div class="per_bg_white_right">
        <div id="tabbox">
            <ul class="tabs">
                <li <%if (m == 1)
                    {%>
                    class="thistab" <%} %>><a href="per_my_d.aspx?n=4&m=1">我定制的</a></li>
                <li <%if (m == 2)
                    {%>
                    class="thistab" <%} %>><a href="per_documentary_me.aspx?n=4&m=2">定制我的</a></li>
                <li <%if (m == 3)
                    {%>
                    class="thistab" <%} %>><a href="per_zd_d.aspx?n=4&m=3">自动跟单记录</a></li>
            </ul>
            <ul class="tab_conbox" id="tab_conbox">
                <li class="tab_con" style="display: block">
                    <dl class="per_me_ul_t">
                        <dd>彩种</dd>
                        <dd>累计中奖金额</dd>
                        <dd>定制人数</dd>
                        <dd>定制时间</dd>
                        <dd>详情</dd>
                    </dl>
                    <%if (buyInfo != null && buyInfo.Count > 0)
                        {
                            for (int i = 0; i < buyInfo.Count; i++)
                            {%>
                    <dl class="per_me_ul">
                        <dd>
                            <p class="p_m_n"><%=buyInfo[i].LotteryType == 1 ? "双色球" : (buyInfo[i].LotteryType == 2 ? "大乐透" : (buyInfo[i].LotteryType == 3 ? "排列三" : (buyInfo[i].LotteryType == 4 ? "排列五" : (buyInfo[i].LotteryType == 5 ? "福彩3D" : (buyInfo[i].LotteryType == 6 ? "七星彩" : (buyInfo[i].LotteryType == 7 ? "七乐彩" : "暂未说明"))))))%></p>
                        </dd>
                        <dd>
                            <p class="p_pp"><em><%=buyInfo[i].LotteryMoney.ToString("0.00")%></em> 元</p>
                        </dd>
                        <dd>
                            <p class="Scolor"><%=getUserCount(buyInfo[i].id)%>/ 1000人</p>
                        </dd>
                        <dd>
                            <p class="Scolor"><%=buyInfo[i].AddTime%></p>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link" onclick="openMe(<%=buyInfo[i].id%>)">查看</a></dd>
                    </dl>
                    <%}
                        }
                        else
                        { %>
                    <ul class="per_integral_con_ul">

                        <div style="text-align: center">暂无记录</div>
                    </ul>
                    <%}
                    %>
                    <!--Pages-->
                    <div class="sabrosus">
                        <webdiyer:AspNetPager SubmitButtonClass="buttons" ID="AspNetPager1"
                            runat="server" AlwaysShow="True" FirstPageText="首页"
                            NextPageText="下一页" PrevPageText="前一页" LastPageText="尾页" PageSize="10"
                            OnPageChanged="AspNetPager1_PageChanged">
                        </webdiyer:AspNetPager>
                    </div>
                    <!--Pages-->
                </li>
            </ul>
        </div>
    </div>
    <!--Right-->
    </div>
    <!--Content-->
</asp:Content>

